/**
 * Created by yy on 2017/8/9.
 */
$(function(){
    var url = server + '/server/users/show.json';
    $.post(url, function(data){
        if (data.code == 12000) {
            alert("登录超时");
            window.location.replace('../../login.html');
        }
        var ctx = template('./account-center-tpl', data);
        $("#account-center").html(ctx);
    });

});